package com.design.mode.single;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-04-03 15:57:50
 */
public class Single02 {

    private static Single02 instance;

    private Single02() {
    }

    public static synchronized Single02 getInstance() {
        if (instance == null) {
            instance = new Single02();
        }
        return instance;
    }
}
